package com.leyou.common.advice.exception;

import enums.ExceptionEnum;

public class LyException extends RuntimeException{

    private ExceptionEnum exceptionEnum;


    public ExceptionEnum getExceptionEnum() {
        return exceptionEnum;
    }

    public void setExceptionEnum(ExceptionEnum exceptionEnum) {
        this.exceptionEnum = exceptionEnum;
    }

    public LyException(ExceptionEnum exceptionEnum) {
        this.exceptionEnum = exceptionEnum;
    }
}
